package com.mate.cloud.lottery.config;


import com.mate.cloud.common.config.AbstractMessageSourceConfig;
import org.springframework.context.annotation.Configuration;

@Configuration
public class ExceptionMessageSourceConfig extends AbstractMessageSourceConfig {

    /**
     * 异常消息模板文件
     */
    @Override
    protected String[] getBaseNames() {
        return new String[]{"classpath:messages/messages"};
    }

}
